<!DOCTYPE html>
<html>
<head>
    <title>订单跟踪表</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-if="act=='list'">
        <div class="grid-btn">
			<#if shiro.hasPermission("sys:container:save")></#if>
            <a @click="add" class="btn btn-primary"><i class="fa fa-plus"></i>&nbsp;新增</a>
			
			<#if shiro.hasPermission("sys:container:update")></#if>
            <a @click="update" class="btn btn-primary"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			
			<#if shiro.hasPermission("sys:container:delete")></#if>
            <a @click="del" class="btn btn-primary"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div class="panel panel-default" v-if="act=='edit'">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
					<div class="form-group">
                        <div class="col-sm-2 control-label">集装箱号</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="集装箱号" type="text" v-model="container.containerno"/>
                        </div>
                    </div>
					<div class="form-group">
                        <div class="col-sm-2 control-label">箱型</div>
                        <div class="col-sm-10">
                            <select class="form-control" v-model="container.type">
				                <option value="20GP">20GP</option>
				                <option value="40GP">40GP</option>
				              </select>
                        </div>
                    </div>
                    <!--  
					<div class="form-group">
                        <div class="col-sm-2 control-label">数量</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="数量" type="text" v-model="container.amount"/>
                        </div>
                    </div>
						
					<div class="form-group">
                        <div class="col-sm-2 control-label">件重尺</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="件重尺" type="text" v-model="container.jzc"/>
                        </div>
                    </div>-->	    
                    <div class="form-group">
                        <div class="col-sm-2 control-label">件数</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="件数" type="text" v-model="container.packages"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">量重</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="量重" type="text" v-model="container.weight"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-2 control-label">寸尺</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="寸尺" type="text" v-model="container.measurement"/>
                        </div>
                    </div>                
					<div class="form-group">
                        <div class="col-sm-2 control-label">封号</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="封号" type="text" v-model="container.closeno"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">司机</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="司机" type="text" v-model="container.driver"/>
                        </div>
                    </div>
					<div class="form-group">
                        <div class="col-sm-2 control-label">车辆</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="车辆" type="text" v-model="container.car"/>
                        </div>
                    </div>
					<div class="form-group">
                        <div class="col-sm-2 control-label">车辆类型</div>
                        <div class="col-sm-10">
                            <input class="form-control" placeholder="车辆"类型 type="text" v-model="container.carType"/>
                        </div>
                    </div>
					<div class="form-group">
                        <div class="col-sm-2 control-label">派车时间</div>
                        <div class="col-sm-10">             
                            <input class="form-control" id="dispatchTime" placeholder="派车时间" type="text"/>
                        </div>
                    </div>
					<div class="form-group">
                        <div class="col-sm-2 control-label">预计抵达时间</div>
                        <div class="col-sm-10">             
                            <input class="form-control" id="arriveDate" placeholder="预计抵达时间" type="text"/>
                        </div>
                    </div>
				<div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input name="onumber" type="hidden" value="{{onumber}}" />
                <input @click="saveOrUpdate" class="btn btn-primary" type="button" value="确定"/>
                &nbsp;&nbsp;<input @click="reload" class="btn btn-warning" type="button" value="返回"/>
            </div>
        </form>
    </div>
</div>
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css" />

<script src="https://cdn.bootcss.com/moment.js/2.24.0/moment.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"></script>
<script src="${request.contextPath}/statics/js/modules/sys/container.js?_${.now?long}"></script>
</body>
</html>